import React from 'react'
import {List} from "antd-mobile";

const Item = List.Item
interface IProps {
    type: string
    uUid?: string;
    uNickName?:string;
    avator?: string
}
const ContactsListItem = (props: IProps) => {
    return (
        <>
            {
                props.type === 'friend' ?
                    <Item>
                        <img src={props.avator} alt=""/>
                        <span>{props.uUid}</span>
                        <span>{props.uNickName}</span>
                    </Item>
                    :
                    <Item>
                        123
                    </Item>
            }

        </>
    )
}

export default ContactsListItem